package com.itheima.youdianda.entity;

import com.baomidou.mybatisplus.annotation.IdType;
import com.baomidou.mybatisplus.annotation.TableField;
import com.baomidou.mybatisplus.annotation.TableId;
import lombok.Data;

import java.io.Serializable;

/**
 * (YddCate)实体类
 *
 * @author makejava
 * @since 2022-11-13 11:21:55
 */
@Data
public class YddCate  {


    @TableId(value="id",type= IdType.AUTO)
    private Integer id;
    
    private String catename;
    /**
     * 字段图标class
     */
    private String icon;
    /**
     * 排序数字
     */
    private Integer sort_num;
    /**
     * 是否为默认数据，null表示不是，1表示是
     */
    //不参与查询
    @TableField(value = "default_data",select = false)
    private String default_data;

    @TableField(exist = false)
    private Integer num;


}

